package com.zf.yichat.model;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "fanli_daily")
public class FanliDaily implements Serializable {
    @Id
    private Long id;

    private Date ctime;

    private Date utime;

    /**
     * 0 删除 1生效
     */
    private Integer status;

    /**
     * 内容
     */
    private String content;

    private static final long serialVersionUID = 1L;

    public FanliDaily(Long id, Date ctime, Date utime, Integer status, String content) {
        this.id = id;
        this.ctime = ctime;
        this.utime = utime;
        this.status = status;
        this.content = content;
    }

    public FanliDaily() {
        super();
    }

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return ctime
     */
    public Date getCtime() {
        return ctime;
    }

    /**
     * @param ctime
     */
    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    /**
     * @return utime
     */
    public Date getUtime() {
        return utime;
    }

    /**
     * @param utime
     */
    public void setUtime(Date utime) {
        this.utime = utime;
    }

    /**
     * 获取0 删除 1生效
     *
     * @return status - 0 删除 1生效
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置0 删除 1生效
     *
     * @param status 0 删除 1生效
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取内容
     *
     * @return content - 内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置内容
     *
     * @param content 内容
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}